1 using UnityEngine;
2 using
System.Collections;
3
4 public
class LevelScreen : MonoBehaviour {
5
6     
public GameObject bgObject;
7
8     
public void Start () {
9         ARController.setBannerVisible(
true);
10         bgObject.GetComponent<SpriteRenderer>().sprite = Resources.Load<Sprite>(
"Textures/bg" + (Attr.currentWorld + 1));
11     }
12 }



Trò chơi đua xe động vật trong UNITY Engine 114.957 lượt xem

Gõ tìm kiếm nhanh...